import request from '@/utils/request'

export function getList(params) {
  return request({
    url: `/admin/api/user/getList`,
    method: 'get',
    params
  });
}

export function doEdit(data) {
  return request({
    url: '/admin/api/user/add-user',
    method: 'post',
    data,
  })
}

export function doDelete(data) {
  return request({
    url: '/admin/api/user/del-user',
    method: 'post',
    data,
  })
}
